package com.lcx.db137.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lcx.db137.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author lcx
 * @version 1.0
 * @Description
 * @date 2024/12/24 11:49
 */
public interface UserMapper extends BaseMapper<User> {
    //登录
    @Select("select * from user where uname=#{uname} and upwd=#{upwd}")
    User login(User user);
}